package io.seata.factoryservice.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by IntelliJ IDEA.
 *
 * @Author : author
 * @create 2022/8/19 14:53
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ProductionPlan implements Serializable {

    //生产编号
    @TableId(type = IdType.AUTO)
    private int ppid;
    //生产时间
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date ppdate;
    //生产类型
    private String ppstyle;
    //生产周期
    private int ppcycle;
    //生产数量
    private int ppnum;
    //生产规格
    private int ppsp;
    //生产状态
    private int ppstatus;
    //加急状态
    private int ppquick;
    //生产产品类型
    private int productionid;
}
